<?php if (!defined('THINK_PATH')) exit();?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns=http://www.w3.org/1999/xhtml>
<head>
<meta charset="utf-8" />
<title><?php echo ($WEBTITLE); ?></title>
<meta content="<?php if($DESCRIPTION): echo ($DESCRIPTION); endif; ?>" name="description">
<meta content="<?php if($KEYWORDS): echo ($KEYWORDS); endif; ?>" name="keywords">
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<link rel="stylesheet" type="text/css" href="../Public/Css/base.css" />
<link rel="stylesheet" type="text/css" href="../Public/Styles/<?php echo (C("styleid")); ?>/css.css" />
<script type="text/javascript" src="/Public/Js/Base.js"></script><script type="text/javascript" src="/Public/Js/prototype.js"></script><script type="text/javascript" src="/Public/Js/mootools.js"></script><script type="text/javascript" src="/Public/Js/Think/ThinkAjax.js"></script><script type="text/javascript" src="/Public/Js/Form/CheckForm.js"></script><script type="text/javascript" src="/Public/Js/Util/ImageLoader.js"></script><script type="text/javascript" src="/Public/Js/jquery.js"></script><script type="text/javascript" src="/Public/Js/Focus/myfocus.js"></script> 
<SCRIPT LANGUAGE="JavaScript">
<!--
var $J=jQuery.noConflict();
//指定当前组模块URL地址 
var URL = '__URL__';
var APP = '__APP__';
var PUBLIC = '__PUBLIC__';
ImageLoader.startLoad();
jQuery(document).ready(function(){
    jQuery(document).bind("contextmenu",function(e){
        //return false;
    });
});
//-->
</SCRIPT>
<style>
.g_page {width:auto;}	
</style>
</head>
<body>
<div class="hwrap">
  <div id="header">
    <h1><?php if($logo): ?><img alt="<?php echo (C("company_name")); ?>" title="<?php echo (C("company_name")); ?>" src="<?php echo ($logo); ?>" /><?php endif; ?></h1>
    <p><?php echo (C("company_name")); ?></p>
    <div class="menu r">
        <span><a href='javascript:' onClick="AddFavorite(window.location,document.title);" title="加入收藏" class="topico02">加入收藏</a></span>
    </div>
    <div id=nav class="nav">
        <div class="navl"></div>
        <div class="navr"></div>
        <?php echo (getnavhtml($topnavlist,'menu_nav', 10, 'navlist navbar', '', 1)); ?>
    </div>
</div>
<script>
var addToFavoritesTips = '加入收藏失败，请使用Ctrl+D进行添加';
</script></div>
	
<div class="cwrap">
	
<!-- banner开始 -->
<div class="bwrap headerfocus"><div id="banner"><span class="xtop"></span><div class="slider"><div id="slider"><?php echo (getlistbymodule($list_Focus_yZUnDnZNQxR,'Focuspic',6,'update_time desc', '', 'focuspic_Focus_yZUnDnZNQxR',0)); if($list_Focus_yZUnDnZNQxR): ?><div id="Focus_yZUnDnZNQxR"><div class="loading"></div><div class="pic"><ul><?php if(is_array($list_Focus_yZUnDnZNQxR)): $i = 0; $__LIST__ = $list_Focus_yZUnDnZNQxR;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$fvo): $mod = ($i % 2 );++$i;?><li><a href="<?php echo ($fvo["url"]); ?>"><img src="http://<?php echo ($_SERVER['SERVER_NAME']); ?>/Public/Uploads/Focus/<?php echo ($fvo["pic"]); ?>" thumb="" alt="<?php echo ($fvo["title"]); ?>" text="<?php echo ($fvo["remark"]); ?>" /></a></li><?php endforeach; endif; else: echo "" ;endif; ?></ul></div></div><script type="text/javascript">myFocus.set({ id:'Focus_yZUnDnZNQxR',width: 950,height: 300,pattern:'mF_fancy' });</script><?php endif; ?></div><div id="slidernav" class="slidernav"></div></div><span class="xbottom"></span></div></div>
<SCRIPT LANGUAGE="JavaScript">
<!--
jQuery(document).ready(function(){
    if(trim(jQuery("#slider").html())=='')jQuery(".headerfocus").css("display", "none");
});
//-->
</SCRIPT>
<!-- banner结束 -->

<div id="content" class="content">
             <div class="layout grid">
             <span class="xtop"></span>
                    
                    <!-- start list -->
                    <div class="col-main">
                        <div class="main-wrap h_ico">
                            <div class="bg"><div class="mbox">
                                <div class="mbg seabox">
                                    <div class="mhd">
                                        <div class="r">
	                                        <form id="search_form" name="search_form" method="GET" action="<?php echo U('Case/index', '', C('URLREWRITE'), false, true);?>">
	                                            <input type="text" name="title" value="<?php echo ($_GET[title]); ?>" class="titinput" style="width:80px;" maxlength="10" />
	                                            <input type="hidden" name="kw" value="title">
	                                            <input type="hidden" name="catid" value="<?php echo ($catid); ?>">
	                                            <button type="submit" class="titbtn">搜索</button>
	                                        </form>
                                        </div>
                                        <h3>当前位置：<a href="<?php echo U('Case/index', '', C('URLREWRITE'), false, true);?>"><?php echo ($CurModule[title]); ?></a><?php echo (getcategorypath($catid,true, ' > ')); ?></h3>
                                    </div>
                                    <div class="mbd">
                                        <ul class="news_list cl">
                                        <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li><span><?php echo (date('Y-m-d', $vo["create_time"])); ?></span><a href="<?php echo (getreadurl($vo["id"],$vo)); ?>" title="<?php echo ($vo["title"]); ?>"><?php echo ($vo["title"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
                                        </ul>
                                    </div>
                                    <div class="g_page"><?php echo ($page); ?></div> 
                                </div>
                            </div></div>
                        </div>
                    </div><!-- end list -->
                    
                    
                    <div class="col-sub">
                        <div class="bg">
                            <div class="sinner">
								<div class="mbox down_list">
									<div class="mbg">
										<div class="mhd"><h3>案例分类</h3></div>
										<div class="mbd">
										<?php echo (getnavhtml($caselist,'category_case', 1, 'navcat')); ?>
										</div>
									</div>
								</div>
								
								<!-- end contact -->
<div class="mbox">
    <div class="mbg contact">
        <div class="mhd"><h3 title="联系我们">联系我们</h3></div>
        <div class="mbd">
            <ul>
                <li title="<?php echo (C("company_address")); ?>">地址：<?php echo (C("company_address")); ?></li>
                <li>邮编：<?php echo (C("company_postcode")); ?></li>
                <li>电话：<?php echo (C("company_tel")); ?></li>
                <li>传真：<?php echo (C("company_fax")); ?></li>
                <li>Email：<?php echo (C("company_email")); ?></li>
            </ul>
        </div>
    </div>
</div>
<div class="feedback">
    <a class="feedbackdrag" href="<?php echo U('Comment/index', '', C('URLREWRITE'), false, true);?>"></a>
</div>
<!-- end contact -->
								
								</div></div></div>                                  
                    
                </div>
                <span class="xbottom"></span>
            </div>
        </div>
        
<div class="fwrap">
    <div id="footer" class="cl"><?php echo (getnavhtml($ftlist,'menu_bottom', 0, '', '', 1)); ?>
        <p><?php if(is_array($ftlist)): $i = 0; $__LIST__ = $ftlist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i; if($key > 0): ?><span class="pipe">|</span><?php endif; ?><a href="<?php if($vo[link]): echo ($vo["link"]); else: echo U($vo[name].'/index', '', C('URLREWRITE'), false, true); endif; ?>" ><?php echo ($vo["title"]); ?></a><?php endforeach; endif; else: echo "" ;endif; if($FOOTSEOKEY): if(is_array($FOOTSEOKEY)): $i = 0; $__LIST__ = $FOOTSEOKEY;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$sk): $mod = ($i % 2 );++$i;?><span class="pipe">|</span><a href="<?php if($sk[link]): echo ($sk["link"]); else: ?>http://<?php echo ($_SERVER['SERVER_NAME']); ?>/<?php endif; ?>" ><?php echo ($sk["name"]); ?></a><?php endforeach; endif; else: echo "" ;endif; endif; ?></p>
        Copyright&copy;2012 <?php echo (C("company_name")); ?> &nbsp; <?php if($Think.config.icp_no): ?><a href="http://www.miitbeian.gov.cn/" target="_blank"><?php echo (C("icp_no")); ?></a> &nbsp;<?php endif; if((C("tech_off")) == "0"): ?><span class="support">  技术支持：<a href="http://seophp.taobao.com/" target="_blank">SEOPHP</a>  &nbsp;<?php endif; if((C("indexadmin_off")) == "0"): ?>[<a href="__APP__/Admin">管理入口</a>] &nbsp;<?php endif; if($Think.config.site_tongji): echo (C("site_tongji")); endif; ?></span>
       <span class="xbottom"> </span>
    </div>
</div>

<?php if($KEFU_LIST): endif; ?>
<?php if($Think.config.share_code): echo (C("share_code")); endif; ?>
	
</body>
</html>